
<?php

if(isset($Login))
{
    if(isset($_GET['logout'])){$Login->logUserOut();}
}
?>
<!doctype html>
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]>    <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]>    <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <title></title>
  <meta name="description" content="">
  <meta name="author" content="">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <link rel="shortcut icon" href="/sandbox1/favicon.ico">
  <link rel="apple-touch-icon" href="/sandbox1/apple-touch-icon.png">
  <link rel="stylesheet" href="/sandbox1/media/css/style.css">
  <!--[if lte IE 7]>
  <link rel="stylesheet" href="/sandbox1/media/css/ie.css">
  <![endif]-->
  <script src="/sandbox1/media/js/modernizr-1.7.min.js"></script>

</head>

<body>
    <div id="container">
        <header>
            <div id="headerTop">
                <div id="headerTopLeft">
                    <a href="/sandbox1/index.php" id="logo">
                        <img src="/sandbox1/media/images/logo.png" alt="OnlyEliteJobs.com" />
                    </a>
                </div>
                <div id="headerTopRight">
                    <div id="headerLogin">
                        <?php if(!$Login->verify()) { ?>
                        <fieldset id="memberLoginForm">
                            <form method="post" action="#">
                                <div id="loginFields">
                                    <label for="email">Email: </label>
                                    <input type="text" name="email" id="email" class="topLoginInput" value="" size="15"/>
                                    <label for="password">Password: </label>
                                    <input type="password" name="password" id="password" class="topLoginInput" value="" size="15"/>
                                </div>
                                <div id="loginButtonContainer">
                                    <div id="loginLinks">
                                        <a href="/sandbox1/register.php" id="registerLink">
                                        <small>Register</small></a>&nbsp;|&nbsp;<a href="/sandbox1/forgotPassword.php" id="forgotPass"><small>Forgot Password?</small></a>
                                    </div>
                                    <input type="submit" name="login" id="login" class="button" value="Login" style="float:right;"/>
                                </div>
                            </form>
                        </fieldset>
                                <div id="loginLoading"><img src="/sandbox1/media/images/loader.gif" alt="Loading..." /></div>
				<div id="loginFeedback"></div>
                        <?php } elseif(!$Login->superUser($_SESSION['employerID'])) { ?>
                        <a href="/sandbox1/myAccount.php">My Account</a>&nbsp;|&nbsp;
                        <a href="/sandbox1/myPostings.php">My Postings</a>&nbsp;|&nbsp;
                        <a href="?logout">Logout</a>
                        <?php echo "<br /><br /><b>Welcome, (" . $_SESSION['contactName'] . ")</b>";} else {?>
                        <a href="/sandbox1/myAccount.php">My Account</a>&nbsp;|&nbsp;
                        <a href="/sandbox1/myPostings.php">My Postings</a>&nbsp;|&nbsp;
                        <a href="/sandbox1/myEmployers.php">My Users</a>&nbsp;|&nbsp;
                        <a href="?logout">Logout</a>
                        <?php echo "<br /><br /><b>Welcome, (" . $_SESSION['contactName'] . ")</b>";}  ?>
                    </div>
                    <nav class="mainNav">
                        <ul>
                            <li><a href="<?php echo DOMAIN_NAME; ?>">Home</a></li>
                            <li><a href="/sandbox1/aboutUs.php">About Us</a></li>
                            <li><a href="/sandbox1/postJob.php">Post a Job</a></li>
                            <li><a href="#">Search Our Jobs</a></li>
                            <li><a href="#">Advanced Search</a></li>
                        </ul>
                    </nav>
                </div>
            </div>
            <div id="headerBottom">
                <div class="leaderboardAd">
                    <a href="#" class="leadAd">
                        <img src="/sandbox1/media/images/leaderboardAd.jpg" alt="Google Ad Placeholder" />
                    </a>
                </div>
            </div>
        </header>
        <div id="main" role="main">
            <div id="leftColumn">